# 生成RSA私钥(无加密)
openssl genrsa -out rsa_private.key 2048

# 生成RSA公钥
openssl rsa -in rsa_private.key -pubout -out rsa_public.key

# 生成RSA私钥(使用aes256加密)
password=""
openssl genrsa -aes256 -passout ${} -out rsa_aes_private.key 2048